package com.dr.service;

import com.dr.exception.ServiceExcep;
import com.dr.pojo.WeChatUserInfo;
import com.github.pagehelper.PageInfo;


/**
 * Created by tugou on 2017/5/13.
 * 微信用户详细信息
 */
public interface WeChatUserInfoService {

    /**
     * 获取所有微信用户详细信息
     * @return
     */
    PageInfo<WeChatUserInfo> getWeChatUserInfoList(WeChatUserInfo info, Integer page, Integer pageSize);

    /**
     * 根据条件获取微信用户详细信息
     * @param userInfo
     * @return
     */
    WeChatUserInfo getWeChatUserInfo(WeChatUserInfo userInfo) throws ServiceExcep;

    /**
     * 保存微信用户信息
     * @param userInfo
     * @return
     * @throws ServiceExcep
     */
    void saveWeChatUserInfo(WeChatUserInfo userInfo) throws ServiceExcep;
}
